package com.woniuxy.core.exception.accountException;

public enum AccountExceptionCode {
    IDCARD_DUOCI(4024,"身份证已被注册"),
    IDCARD_HAVEUSE(4023,"请勿重复操作"),
    PASS_NOT_SAME(4022,"新密码不能与旧密码相同"),
    CARPORT_USE(4021,"车位已存在"),
    ID_NOT(4020,"未实名认证"),
    ACCIUNT_USERUSE(4019,"账号已存在"),
    PHONE_USSERUSE(4018,"手机号已存在"),
    PASS_ERROR(4017,"密码不正确"),
    NOT_NULL(4016,"不能为空"),
    PHONE_NOT_NULL(4015,"手机号不能为空"),
    LENTH_WORRY(4014,"手机号长度不正确"),
    NOT_USERINFOID_NULL(4013,"用户id不能为空"),
    NO_USER(4012,"不存在的用户"),
    PHONE_NOT_REGISTER(4011,"手机号尚未注册"),
    ERROR_ACCPSS(4010,"请输入正确的账号密码"),
    USERPASS_NOT_NULL(4009,"密码不能为空"),

    USERACCOUNT_NOT_NULL(4008,"账号不能为空"),
    PHONE_OCCUPY(4007,"手机号被占用"),
    TIMEOUT(4006,"超出时效限制条数"),
    DONT_ALWAYS_BUSY(4005,"请勿重复操作"),
    SERVER_BUSY(4004,"服务器繁忙"),

    VERIFICATION_CODE_ERROR(4003,"验证码或者手机账号错误"),

    CODE_NOT_NULL(4002,"验证码不能为空"),

    CODE_MAX(4001,"验证码超过最大验证次数");

    private Integer code;

    private String message;

    AccountExceptionCode(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
